package com.wmjsoft.view.user

import org.nutz.dao.entity.annotation.*

/**
 * 如果我没有写注释，请提醒我
 * @program: Maternal
 * @description:
 * @author: Mr.Lee
 * @create: 2021-02-19 14:16
 */
@Table("users")
class User() {

    @Id
    @Column
    var id: Long? = null


    @Column
    @ColDefine(width = 50, notNull = true)
    @Comment("名字")
    var name: String? = null

    @Column
    @ColDefine(notNull = true)
    @Comment("性别")
    var sex: Int? = null

    @Column
    @ColDefine(notNull = true)
    @Comment("年龄")
    var age: Int? = null


}